<template>
  <div class="count">
    <h1>Count</h1>
    <h2>当前的num值是:{{$store.state.num}}</h2>
    <h2>当前的doubleNum值是：{{$store.getters.doubleNum}}</h2>
  </div>
</template>

<script>
export default {
name:"Count",
mounted(){
    console.log(this);
}
}
</script>

<style scoped>
.count{
    background: yellowgreen;
}
</style>